package com.czh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czh.domain.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

/**
 * 菜单权限表(Menu)表数据库访问层
 *
 * @author czh
 * @since 2024-03-28 20:41:37
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> selectPermsByUserId(Long id);

    ArrayList<Menu> selectRouterMenuAll();

    ArrayList<Menu> selectRouterMenuById(Long userId);
}

